package com.sy.dto;

import com.sy.entity.Commit;
import com.sy.entity.DriSchool;
import com.sy.entity.Serve;

import java.util.List;

public class DriSchoolDto {
    private DriSchool driSchool;
    private List<Serve> serveList;
    private List<DriClassDto> driClassList;
    private List<Commit> commitList;

    public DriSchoolDto() {
    }

    public DriSchoolDto(DriSchool driSchool, List<Serve> serveList, List<DriClassDto> driClassList, List<Commit> commitList) {
        this.driSchool = driSchool;
        this.serveList = serveList;
        this.driClassList = driClassList;
        this.commitList = commitList;
    }

    public DriSchool getDriSchool() {
        return driSchool;
    }

    public void setDriSchool(DriSchool driSchool) {
        this.driSchool = driSchool;
    }

    public List<Serve> getServeList() {
        return serveList;
    }

    public void setServeList(List<Serve> serveList) {
        this.serveList = serveList;
    }

    public List<DriClassDto> getDriClassList() {
        return driClassList;
    }

    public void setDriClassList(List<DriClassDto> driClassList) {
        this.driClassList = driClassList;
    }

    public List<Commit> getCommitList() {
        return commitList;
    }

    public void setCommitList(List<Commit> commitList) {
        this.commitList = commitList;
    }

    @Override
    public String toString() {
        return "DriSchoolDto{" +
                "driSchool=" + driSchool +
                ", serveList=" + serveList +
                ", driClassList=" + driClassList +
                ", commitList=" + commitList +
                '}';
    }
}
